﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MylambdaLinqDemo
{
    /// <summary>
    /// 学生实体
    /// </summary>
    public class Teacher
    {
        public int Id { get; set; }
        public int ClassId { get; set; }
        public string? Name { get; set; }
        public int Age { get; set; }

        public void Study()
        {
            Console.WriteLine("{0} {1}跟着Richard老师学习.net高级开发", Id, Name);
        }

        public void StudyFramework()
        {
            Console.WriteLine("{0} {1}跟着Eleven老师学习如何做一名架构师。。。", Id, Name);
        }

        public void StudyFullStack()
        {
            Console.WriteLine("{0} {1}跟着ACE老师学习全栈开发。。。", Id, Name);
        }

    }

    ///// <summary>
    ///// 班级实体
    ///// </summary>
    //public class Class
    //{
    //    public int Id { get; set; }
    //    public string ClassName { get; set; }
    //}
}
